// 统一的注册所有的全局组件
import XtxSkeleton from '@/components/XtxSkeleton/XtxSkeleton.vue'
import  Carousel from "@/components/Carousel/index.vue";
import XtxMore from '@/components/XtxMore/XtxMore.vue';
import XtxBread from '@/components/XtxBread/XtxBread.vue';
import XtxBreadItem from '@/components/XtxBreadItem/XtxBreadItem.vue';
import XtxNumbox from '@/components/XtxNumbox/XtxNumbox.vue'
import  XtxButton from '@/components/XtxButton/XtxButton.vue'
// App 是在vue库中定义好的类型
import { App } from 'vue'
export default {
  install (app: App) {
    app.component('XtxSkeleton', XtxSkeleton)
    app.component('Carousel', Carousel)
    app.component('XtxMore', XtxMore)
    app.component('XtxBread',XtxBread)
    app.component('XtxBreadItem',XtxBreadItem)
    app.component('XtxNumbox', XtxNumbox)
    app.component('XtxButton', XtxButton)
  }
}
